package com.zxf.pojo;


public class Users extends BaseModel{
    private String userid;//用户id
    private String username;//用户名
    private String loginame;//昵称
    private String password;//密码
    private String CheckCode;//验证码
    private int following=0; //正在关注的人数
    private int followers=0; //关注者的人数
    private int posts=0; //已发布的状态信息数量
    private String signup; //创建时间

    public Users() {
		super();
	}

	
	

	public String getUserid() {
		return userid;
	}




	public void setUserid(String userid) {
		this.userid = userid;
	}




	public Users(String userid, String username, String loginame,
			String password, String checkCode, int following, int followers,
			int posts, String signup) {
		super();
		this.userid = userid;
		this.username = username;
		this.loginame = loginame;
		this.password = password;
		CheckCode = checkCode;
		this.following = following;
		this.followers = followers;
		this.posts = posts;
		this.signup = signup;
	}




	@Override
	public String toString() {
		return "Users [userid=" + userid + ", username=" + username
				+ ", loginame=" + loginame + ", password=" + password
				+ ", CheckCode=" + CheckCode + ", following=" + following
				+ ", followers=" + followers + ", posts=" + posts + ", signup="
				+ signup + "]";
	}




	public String getLoginame() {
		return loginame;
	}




	public void setLoginame(String loginame) {
		this.loginame = loginame;
	}




	public int getFollowing() {
		return following;
	}




	public void setFollowing(int following) {
		this.following = following;
	}




	public int getFollowers() {
		return followers;
	}




	public void setFollowers(int followers) {
		this.followers = followers;
	}




	public int getPosts() {
		return posts;
	}




	public void setPosts(int posts) {
		this.posts = posts;
	}




	public String getSignup() {
		return signup;
	}




	public void setSignup(String signup) {
		this.signup = signup;
	}




	public String getCheckCode() {
		return CheckCode;
	}

	public void setCheckCode(String checkCode) {
		CheckCode = checkCode;
	}

	

   

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }
}